package control.action;

import model.TPractice;
import model.Tarticle;
import business.factory.daos;


public class SaveArticleAction extends BaseAction {
	private int artsid;

	/**
	 * @return
	 */
	public String execute() {
		Tarticle article = daos.articledao.getarticleById(artsid);
		request.setAttribute("article", article);
		return SUCCESS;
	}

	public int getArtsid() {
		return artsid;
	}

	public void setArtsid(int artsid) {
		this.artsid = artsid;
	}
	
	
}